package edu.service;

import com.tencentcloudapi.sms.v20190711.models.SendStatus;
import edu.common.Verification;

public interface UserService {

    /**
     * 发送短信验证码
     * @param phone
     * @return
     */
    Verification sendVerificationCode(String phone);


    /**
     * 登录
     * @param phone
     * @param verificationCode
     * @return
     */
    Boolean doLogin(String phone,String verificationCode);
}
